home *** CD-ROM | disk | FTP | other *** search
- unit Clsub;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, Spin;
-
- type
- TForm2 = class(TForm)
- sploop: TSpinEdit;
- spsize: TSpinEdit;
- spstep: TSpinEdit;
- Label1: TLabel;
- Label2: TLabel;
- Label3: TLabel;
- Button1: TButton;
- Button2: TButton;
- procedure FormKeyDown(Sender: TObject; var Key: Word;
- Shift: TShiftState);
- private
- { Private ÉΘî╛ }
- public
- { Public ÉΘî╛ }
- end;
-
- var
- Form2: TForm2;
-
- implementation
-
- var bnum : integer;
- {$R *.DFM}
-
- procedure TForm2.FormKeyDown(Sender: TObject; var Key: Word;
- Shift: TShiftState);
- begin
- if key = VK_RETURN then modalresult := mrOk;
- end;
-
- end.
-